<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
include 'app.core/dispatcher.php';
include 'app.core/basics.php';
include 'app.core/object.php';
include "app.ado/TConnection.php";
include 'app.core/entidade.php';
include 'app.core/controle.php';

header("content-type: text/html; charset=utf-8");
if (!defined('DS')) {
	define('DS', DIRECTORY_SEPARATOR);
}
define('ROOT', dirname(__FILE__));
define('CONTROLE_DEFAULT','login');
error_reporting(E_ALL);
ini_set('display_errors',1);
ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.ROOT.DS.
                        "app.control".DS.PATH_SEPARATOR.ROOT.DS."app.model".DS
                        .PATH_SEPARATOR.ROOT.DS."app.ado".DS
                        .PATH_SEPARATOR.ROOT.DS."app.core");
ini_set('default_charset','utf-8');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch();
    
?>
